package remote.rmicase;

import java.rmi.Remote;
import java.rmi.RemoteException;

/**
 * description:
 *  从proxy模块复制而来
 *  注意：包名需要与服务端保持一致！！！！
 * @author Yuanml on 2020/10/29 15:26
 */
public interface MyRemote extends Remote {
    /**
     * description:
     * rmi入门
     * @param name    参数1
     * @return        返回值为string
     * @throws RemoteException 抛出远程调用异常
     * @author Yuanml
     * @date 2020/10/29 下午3:55
     **/
    String hello(String name) throws RemoteException;
}
